package com.zlc.common.core.process.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zlc.common.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author zl
 * @date 2023-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "stone_process")
public class StoneProcess extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 0L;
    /**
     * 类别ID
     */
    @TableField(value = "class_id_")
    private String classId;

    /**
     * 流程定义ID
     */
    @TableField(value = "process_id_")
    private String processId;

    /**
     * 流程编码
     */
    @TableField(value = "process_code_")
    private String processCode;

    /**
     * 流程名称
     */
    @TableField(value = "process_name_")
    private String processName;

    /**
     * 流程版本
     */
    @TableField(value = "process_version_")
    private String processVersion;

    /**
     * 流程状态
     */
    @TableField(value = "status_")
    private String status;

    /**
     * 所属系统
     */
    @TableField(value = "system_")
    private String system;

    /**
     * 所属系统模块
     */
    @TableField(value = "module_")
    private String module;

    /**
     * 流程定义内容
     */
    @TableField(value = "content_")
    private byte[] content;

    /**
     * 是否是最新版本
     */
    @TableField(value = "new_version_flag_")
    private String newVersionFlag;

    /**
     * 系统路径
     */
    @TableField(value = "sys_path")
    private String sysPath;

    /**
     * 序号
     */
    @TableField(value = "order_")
    private Integer order;

}
